/* navbar.css */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
}
.full_container{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.app_container{
    width: 80%;
    height: calc(90vh + 20px);
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
}
/* 导航栏样式 */
.navbar {
    position: relative;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(10vh - 20px); /* 设置高度 */
    background: #1f3e53;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px; /* 控制链接之间的间距 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 添加阴影效果 */
    z-index: 1000; /* 确保导航栏在最上层 */
}
.img-container{
    padding-left: 20px;
    width: 10%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
}
.img-logo{
    width: 50px;
    height: auto;
}
.img-title{
    padding-left: 20px;
    width: 400px;
    height: 50px;
}
.navbar-a-container{
    width: 80%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
/* 导航栏中的链接样式 */
.navbar a {
    color: #fcf5e2;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
    transition: background-color 0.3s ease; /* 添加平滑过渡效果 */
}

/* 鼠标悬停时的样式 */
.navbar a:hover {
    background-color: rgba(255, 255, 255, 0.2); /* 悬停时改变背景色 */
    border-radius: 5px; /* 圆角效果 */
}
.info-container{
    width: 10%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.info-avatar{
    width: 25px;
    height: auto;
    border-radius: 5px;
}
.info-nickname{
    width: 200px;
    height: 60%;
    font-size: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.info-logout{
    padding-right: 10px;
    width: 25px;
    height: auto;
    cursor: pointer;
}
.navbar-a-container a.active {
    color: #ffd04b;
    font-weight: bold;
}

